package com.liugh.service.zhongche;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.liugh.entity.User;
import com.liugh.entity.standard.StandardItem;

public interface IStandardService extends IService<StandardItem> {

    StandardItem update(StandardItem item, User user);

    StandardItem add(StandardItem item, User user);


    Page<StandardItem> selectByLibType(Page<StandardItem> itemPage, int type);


    Page<StandardItem> getAllItemPage(Page<StandardItem> itemPage);

    //获取我上传的文件
    Page<StandardItem> getMyUploadItem(Page<StandardItem> page,String userNo);


    StandardItem getItemById(int id);
}
